package edu.qizhong;

public class Student {

    int no;
    String name;
    String sex;

    public Student(int no, String name, String sex) {
        this.no = no;
        this.name = name;
        this.sex = sex;
    }

    public void print() {
        System.out.println("学号: " + no + ", 姓名: " + name + ", 性别: " + sex);
    }

    public void doStudy() {
        System.out.println(name + " is learning");
    }

}
